projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dbc7e3
)
* xfaces.c (unload_color): Don't try to unload the standard black
author
Jim Blandy
<jimb@redhat.com>
Sun, 16 May 1993 00:23:33 +0000
(
00:23
+0000)
committer
Jim Blandy
<jimb@redhat.com>
Sun, 16 May 1993 00:23:33 +0000
(
00:23
+0000)
or white pixel.
src/xfaces.c
patch
|
blob
|
history
diff --git
a/src/xfaces.c
b/src/xfaces.c
index e037d703812188c0ad281f0c91d7d8b49c28ff06..225e9939445172d76ac648831540ca422b51c075 100644
(file)
--- a/
src/xfaces.c
+++ b/
src/xfaces.c
@@
-406,7
+406,9
@@
unload_color (f, pixel)
{
Colormap cmap;
Display *dpy = x_current_display;
- if (pixel == FACE_DEFAULT)
+ if (pixel == FACE_DEFAULT
+ || pixel == BLACK_PIX_DEFAULT
+ || pixel == WHITE_PIX_DEFAULT)
return;
cmap = DefaultColormapOfScreen (DefaultScreenOfDisplay (x_current_display));
BLOCK_INPUT;